home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-07 | 4.6 KB | 142 lines | [TEXT/CWIE] |
- * PopupCDEF 1.3 951204 (public distribution)
-
- - Compiled CDEFs with bevel attribute disabled.
-
- - Added a few pictures comparing beveled and unbeveled controls
- to the documentation.
-
- * PopupCDEF 1.2 951010 (public distribution)
-
- - Fixed several bugs found by Stefan Kurth.
-
- - Disabled code for copying background pixel pattern to popup's
- offscreen graphics world.
-
- - Added short README document.
-
- * PopupCDEF 1.1 950921 (public distribution)
-
- - Port state is saved on the stack, thus saving heap space.
-
- - Tests for _IconDispatch, rather than System 7.
-
- - Popup calls GetResource to look for an mctb with the same ID as the popup menu,
- and, if an mctb is found, assigns that mctb to the menu. This is done each time
- the menu is inserted into the menu list.
-
- - Added better default colors using window's colors when popup is called.
-
- - Popup explicitely tests for grayishTextOr before using it.
-
- - Calculation of popup's rectangles accounts for style of popup's title.
-
- - The icon utilities PlotIconHandle and PlotSICNHandle are used if available.
- This results in slightly better effects with color.
-
- - Some attempt was made to reduce flicker in the borders of the popup when not
- drawing offscreen.
-
- - The popup's title is hilited by reversing the foreground and background colors,
- not by calling InvertRect. This works better against color backgrounds. Also,
- inversion overrides the background pixel pattern by using MakeRGBPat and
- FillCRect.
-
- - Patch to MDEF saves and restores menuProc field around CallUniversalProc. This
- is just in case the MDEF relies on the value of the menuProc field.
-
- - Fixed minor bug in PopupSelect: was testing LoWord of value returned by
- PopUpMenuSelect, when should have been testing HiWord.
-
- - Added automatic 3D beveling of menu and shading of triangle when port depth is
- at least 8 bits.
-
- - Changed call to BlockMove to BlockMoveData.
-
- - The private popup structure is aligned to 68K rules, just to be on the safe
- side.
-
- - Added DEBUG_CDEF for deubgging the CDEF.
-
- - Changed menu loading code to call GetMenuHandle before calling GetResource,
- rather than the other way around. This makes adding custom menus work better.
-
- - Added test for nil menuProc field when loading the popup menu. This fixed a
- crash bug that happened if a menu resource was in memory but had not been
- initialized.
-
- - If popupUseAddResMenu is specified, then AppendResMenu is called even if the
- menu was not created by the popup CDEF.
-
- - Added support for popupTitleCenterJust.
-
- - Tried to return kPopupPartNotSelected if user doesn't select a menu item, but
- Control Manager seems to thwart my efforts.
-
- - Made PPC native version of CDEF.
-
- - Added #ifdef __cplusplus to PopupCDEF.h.
-
- - Changed kPopupVersion from 3 to 4.
-
- - Added the constants
-
- kPopupPartSelected (1)
- kPopupPartNotSelected (0)
- kPopupCDEFID (129)
- kPopupCDEFIDFat (kPopupCDEFID)
- kPopupCDEFID68K (kPopupCDEFID + 1)
- kPopupCDEFIDPPC (kPopupCDEFID + 2)
- kPopupProcIDFat (kPopupCDEFIDFat * 16)
- kPopupProcID68K (kPopupCDEFID68K * 16)
- kPopupProcIDPPC (kPopupCDEFIDPPC * 16)
-
- - Split PopupCDEF.h into PopupCDEFResources.h.
-
- - Converted from THINK C to CodeWarrior.
-
- - The current graphics world is restored after drawing offscreen. Some other
- fixes were made to offscreen ports (e.g., from 1.0b5, foreground and background
- colors are set to avoid colorization by CopyBits). These might have been fixed
- in 1.0b6.
-
- * PopupCDEF 1.0b6
-
- - CDEF now honors clip region
-
- - Fixed error if menu was loaded into memory with GetResource before CDEF was
- called on menu.
-
- - Removed unused 'data' member from PopupType structure
-
- - PopupType is aligned to m68k rules if powerc is defined
-
- - Window Manager port's font and size are saved and restored separately from
- corresponding low-mem globals
-
- - Forces fonts to be flushed before calling PopupMenuSelect when popupUseWFont
- variation code is used. This should ensure that the correct font is used by the
- MDEF.
-
- - Changed PopupHilite to draw the title rectangle in inverse colors, rather than
- using InvertRect and HiliteMode, so that hiliting would work correctly on
- non-white backgrounds.
-
- - Size of reduced icons is calculated by dividing the size of an icon in half,
- rather than hard-coding the size to 16 pixels.
-
- - Fixed minor horizontal alignment problem, there's still a vertical alignment
- problem, though.
-
- - Triangle resizes according to font size.
-
- - Popup is erased to window's background color, instead of white.
-
- - Clicking outside of control's rectangle, even for oversized popups, won't popup
- the menu.
-
- - Removed PopupVisibleSet, since that's handled by the Control Manager.
-
- * PopupCDEF 1.0b5 (public release)
-
- - Added support for 'cctb'
-